﻿#ifndef COMPUTERINFOWIDGET_H
#define COMPUTERINFOWIDGET_H

#include <QWidget>
#include "computer.h"
#include "ui_computerinfowin.h"
class ComputerInfoWidget : public QWidget
{
    Q_OBJECT

public:
    ComputerInfoWidget(Computer &computer, QWidget *parent = 0);

    void setComputer(Computer &computer);

    Ui::ComputerInfoWin ui;

    void paintEvent(QPaintEvent *);

    Computer computer;

    void waitForDelayConnect(unsigned int msec);

signals:
    void delayGetClientAndAppInfo();

private slots:
    void onEditeComputerClicked();
    void onShowComputerInfoClicked();
};

#endif // COMPUTERINFOWIDGET_H
